package enums

type ConversionType struct {
	value int
	name  string
}

var (
	Java   = ConversionType{1, "Java"}
	MySQL  = ConversionType{2, "MySQL"}
	ORACLE = ConversionType{3, "ORACLE"}
	NONE   = ConversionType{99, "None"}
)

func (ct ConversionType) String() string {
	return ct.name
}

func (ct ConversionType) Value() int {
	return ct.value
}
